import http from "../plugins/request";

export default {


    //菜单列表
     async getMenuList(param) {
        return  await http.get("/getMenuList", param);
    },

    //删除角色
    async deleteMenu(param) {
        return await http.delete("/deleteMenu", param);
    },

    async addMenu(params) {
        return http.post("/addMenu", params);
    },
    async updateMenu(params) {
        return http.post("/updateMenu", params);
    }
}
